#pragma once

#include <mzfc_inc.h>
#include "CMainWnd.h"

#define	 IDC_TOOLBAR_TEXT			201
#define  MZ_IDC_INPUTPASSWD			202
#define  MZ_IDC_BTNOK				203
#define  MZ_IDC_BTNQUIT				204

class LoginWnd: public CMzWndEx
{
	MZ_DECLARE_DYNAMIC(LoginWnd); 

public:
	LoginWnd(void); 
	~LoginWnd(void);



	UiToolbar_Text m_toolbar;

	UiSingleLineEdit m_passwd;
	UiButtonEx m_ok;
	UiButtonEx m_quit;
	MainListWnd new_MainWnd;

	virtual LRESULT MzDefWndProc(UINT message, WPARAM wParam, LPARAM lParam);



protected:
	
	void showMainWnd();
	virtual BOOL OnInitDialog();                             
	virtual void OnMzCommand(WPARAM wParam, LPARAM lParam);   

};